package com.ndood.spring.boot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * User 控制器
 * @author qilongfei
 *
 */
@RestController
@RequestMapping("/users")
public class UserController {
	
	/**
	 * 查询所用用户
	 * @return
	 */
	@GetMapping
	public ModelAndView list() {
		return new ModelAndView("users/list");
	}
	
}
